package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.util.List;

// 嵌套的 Data 类
@JsonIgnoreProperties(ignoreUnknown = true)
public class DataVo {
    private String name;
    private List<RecordVo> records;

    // getters 和 setters


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<RecordVo> getRecords() {
        return records;
    }

    public void setRecords(List<RecordVo> records) {
        this.records = records;
    }

    @Override
    public String toString() {
        return "DataVo{" +
                "name='" + name + '\'' +
                ", records=" + records +
                '}';
    }
}
